<?php
/**
 * Created by JetBrains PhpStorm.
 * User: dung
 * Date: 2/19/14
 * Time: 12:07 AM
 * To change this template use File | Settings | File Templates.
 */
?>
<?php
if(isset($_SESSION["users_id"]) && $_SESSION["group_id"]==1){
    $employee_id=$_GET["employee_id"];
    settype($employee_id,"int");
    DeleteEmployee($employee_id);
    header("location:index.php?p=employeelist");
}else{
    header("location:index.php?p=logincp");
}
?>